home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcmag / v10n15 / loop.bat < prev    next >
DOS Batch File  |  1991-08-09  |  337b  |  12 lines

  1. @echo off
  2. REM ===================================================================
  3. REM Loop 10 times using STRINGS to increment a loop variable.
  4. REM ===================================================================
  5.  
  6. SET count=1
  7. :LABEL1
  8. ECHO %COUNT%
  9. STRINGS count = ADD %COUNT%, 1
  10. IF NOT .%COUNT%==.10 GOTO LABEL1
  11. SET count=
  12.